
function getSeverTime(){
	var timeDiv=document.getElementById('servertime');
	var nowTime=new Date();
	var strNowTime=nowTime.toLocaleString();
	timeDiv.innerHTML = "当前服务器时间:"+strNowTime;
}
window.setInterval("getSeverTime()",1000);//单位是毫秒
